package com.sskj.fca.presenter;

import com.lzy.okgo.model.Response;
import com.sskj.common.base.HttpData;
import com.sskj.lib.bean.UserBean;
import com.sskj.lib.http.JsonCallBack;
import com.sskj.fca.ui.activity.AssetActivity;


public class AssetActivityPresenter extends BasePresenter<AssetActivity> {

    public void getQCInfo() {
        httpService.userInfo("pb")
                .tag(this)
                .execute(new JsonCallBack<HttpData<UserBean>>() {
                    @Override
                    public void onSuccess(Response<HttpData<UserBean>> response) {
                        HttpData httpData = response.body();
                        UserBean userBean = (UserBean) httpData.getData();
                        mView.updateQC(httpData,userBean);
                    }
                });
    }

}
